<%@ page import="whf.framework.util.BeanFactory" %>
<%@ page import="com.opensymphony.workflow.loader.WorkflowFactory" %>
<%@ page import="com.opensymphony.workflow.Workflow" %>
<%
Object factoryObj = BeanFactory.getBean("workflow");
Workflow workflow = (Workflow)factoryObj;
workflow.initialize("mytest", 1, null);
%>